package org.dromara.authcode.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.authcode.domain.TDevice;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 设备信息视图对象 t_device
 *
 * @author Miles Meng
 * @date 2025-08-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TDevice.class)
public class TDeviceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 设备唯一标识
     */
    @ExcelProperty(value = "设备唯一标识")
    private Long id;

    /**
     * 关联用户 ID
     */
    @ExcelProperty(value = "关联用户ID")
    private Long userId;

    /**
     * MAC 地址
     */
    @ExcelProperty(value = "MAC地址")
    private String macAddress;

    /**
     * 有效期
     */
    @ExcelProperty(value = "有效期")
    private Date validTime;

    /**
     * 激活开关(1=有效0=无效)
     */
    @ExcelProperty(value = "激活状态(1=有效0=无效)")
    private Long activeStatus;

    /**
     * 设备硬件型号
     */
    @ExcelProperty(value = "设备硬件型号")
    private String board;

    /**
     * 设备别名
     */
    @ExcelProperty(value = "设备别名")
    private String alias;

    /**
     * 固件版本号
     */
    @ExcelProperty(value = "固件版本号")
    private String appVersion;


}
